<template>
  <div class="app">
    <input type="text" v-model="msg1" />
    <br />
    <input type="text" :value="msg1" @input="msg1 = $event.target.value" >
  </div>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      msg1: '',
    }
  },
  methods: {
    onInput(e) {
      this.msg1 = e.target.value
    }
  }
}
</script>

<style>
</style>